// 获取应用实例
const app = getApp()

Page({
	data: {
		img_src:app.globalData.img_src,
		type:"fail"
	},
	onLoad(options){
		wx.hideHomeButton()
		this.setData({
			type:options.type
		})
	},
	gohome(){
		wx.redirectTo({
			url: '/pages/index/index'
		})
	}
})
